gtk4.git
18 years agoSmall fixes
Matthias Clasen [Thu, 19 Jul 2007 15:06:52 +0000 (15:06 +0000)]
Small fixes

svn path=/trunk/; revision=18503

18 years agohandle no-window and regular widgets seperately.
Kristian Rietveld [Thu, 19 Jul 2007 15:03:18 +0000 (15:03 +0000)]
handle no-window and regular widgets seperately.

2007-07-19  Kristian Rietveld  <kris@imendio.com>

* gtk/gtktooltip.c (find_topmost_widget_coords_from_event): handle
no-window and regular widgets seperately.

* gtk/gtktreeview.c (gkt_tree_view_set_tooltip_cell): rect.x should
be zero.

svn path=/trunk/; revision=18502

18 years agoAdd new convenience api for tooltips on icon views
Matthias Clasen [Thu, 19 Jul 2007 14:59:44 +0000 (14:59 +0000)]
Add new convenience api for tooltips on icon views

svn path=/trunk/; revision=18501

18 years agomarkup fixes
Matthias Clasen [Thu, 19 Jul 2007 14:05:49 +0000 (14:05 +0000)]
markup fixes

svn path=/trunk/; revision=18500

18 years agomarkup fix
Matthias Clasen [Thu, 19 Jul 2007 13:57:16 +0000 (13:57 +0000)]
markup fix

svn path=/trunk/; revision=18499

18 years agotypo fix
Matthias Clasen [Thu, 19 Jul 2007 13:55:59 +0000 (13:55 +0000)]
typo fix

svn path=/trunk/; revision=18498

18 years agoInitialized GValues before unsetting them. (#457720)
Matthias Clasen [Thu, 19 Jul 2007 13:45:12 +0000 (13:45 +0000)]
Initialized GValues before unsetting them. (#457720)

2007-07-19  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtktextview.c (gtk_text_view_compat_move_focus):
        Initialized GValues before unsetting them.  (#457720)

svn path=/trunk/; revision=18497

18 years agoadd more convenience API.
Kristian Rietveld [Thu, 19 Jul 2007 13:21:09 +0000 (13:21 +0000)]
add more convenience API.

2007-07-19  Kristian Rietveld  <kris@imendio.com>

* gtk/gtk.symbols:
* gtk/gtktreeprivate.h:
* gtk/gtktreeview.[ch] (gtk_tree_view_get_tooltip_context),
(gtk_tree_view_[sg]et_tooltip_column): add more convenience API.

* tests/testtooltip.c (query_tooltip_tree_view_cb): use
gtk_tree_view_get_tooltip_context().

* demos/gtk-demo/demo.ui: add a tooltip column to the list store,
set tooltip-column on the tree view.

svn path=/trunk/; revision=18496

18 years agosv.po: Updated Swedish translation
Daniel Nylander [Thu, 19 Jul 2007 12:02:36 +0000 (12:02 +0000)]
sv.po: Updated Swedish translation

svn path=/trunk/; revision=18495

18 years agoMaxim Dziumanenko <dziumanenko@gmail.com>
Maxim V. Dziumanenko [Thu, 19 Jul 2007 09:06:31 +0000 (09:06 +0000)]
Maxim Dziumanenko <dziumanenko@gmail.com>

* Fix typo in uk.po

svn path=/trunk/; revision=18494

18 years agoRef the cursor in the cached case.
Richard Hult [Wed, 18 Jul 2007 09:52:25 +0000 (09:52 +0000)]
Ref the cursor in the cached case.

2007-07-18  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkcursor-quartz.c (gdk_cursor_new_for_display): Ref
the cursor in the cached case.

svn path=/trunk/; revision=18490

18 years agoCorrect some mistakes in the documentation of the test-expand/collapse-row
Matthias Clasen [Wed, 18 Jul 2007 08:56:42 +0000 (08:56 +0000)]
Correct some mistakes in the documentation of the test-expand/collapse-row

2007-07-18  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtktreeview.c: Correct some mistakes in the
        documentation of the test-expand/collapse-row signals.
        (#457774, Olivier Andrieu)

svn path=/trunk/; revision=18489

18 years agoSmall cleanups
Matthias Clasen [Wed, 18 Jul 2007 07:30:34 +0000 (07:30 +0000)]
Small cleanups

svn path=/trunk/; revision=18488

18 years agosv.po: Updated Swedish translation
Daniel Nylander [Tue, 17 Jul 2007 19:02:59 +0000 (19:02 +0000)]
sv.po: Updated Swedish translation

svn path=/trunk/; revision=18487

18 years agoonly do the coordinate check if tmp is not NULL.
Kristian Rietveld [Tue, 17 Jul 2007 12:39:20 +0000 (12:39 +0000)]
only do the coordinate check if tmp is not NULL.

2007-07-17  Kristian Rietveld  <kris@imendio.com>

* gtk/gtktooltip.c (find_widget_under_pointer): only do the
coordinate check if tmp is not NULL.

svn path=/trunk/; revision=18486

18 years agoFix some issues with some combinations of inline-selection and
Matthias Clasen [Mon, 16 Jul 2007 16:43:54 +0000 (16:43 +0000)]
Fix some issues with some combinations of inline-selection and

2007-07-16  Matthias Clasen <mclasen@redhat.com>

        Fix some issues with some combinations of inline-selection
        and inline-completion.  (#457384, Christian Persch)

        * gtk/gtkentry.c (gtk_entry_completion_key_press): Don't store
        the completion_prefix here, and be careful when using
        completion_prefix, because it may be NULL.
        * gtk/gtkentrycompletion.c (gtk_entry_completion_finalize):
        Free completion_prefix here.
        * gtk/gtkentrycompletion.c (gtk_entry_completion_real_insert_prefix):
        (gtk_entry_completion_insert_completion_text): Store the
        completion_prefix here.

svn path=/trunk/; revision=18479

18 years agocheck if the pointer is really over the returned widget, since the
Kristian Rietveld [Mon, 16 Jul 2007 16:39:53 +0000 (16:39 +0000)]
check if the pointer is really over the returned widget, since the

2007-07-16  Kristian Rietveld  <kris@imendio.com>

* gtk/gtktooltip.c (find_topmost_widget_coords_from_event): check
if the pointer is really over the returned widget, since the
coordinate check may not always be hit in find_widget_under_pointer().

svn path=/trunk/; revision=18478

18 years agoTranslation updated by Tino Meinen.
Vincent van Adrighem [Mon, 16 Jul 2007 15:54:15 +0000 (15:54 +0000)]
Translation updated by Tino Meinen.

2007-07-16  Vincent van Adrighem  <adrighem@gnome.org>

* nl.po: Translation updated by Tino Meinen.

svn path=/trunk/; revision=18477

18 years agoPlug a memleak. (#455721, Christian Persch)
Matthias Clasen [Mon, 16 Jul 2007 15:30:43 +0000 (15:30 +0000)]
Plug a memleak. (#455721, Christian Persch)

2007-07-16  Matthias Clasen <mclasen@redhat.com>

        * gtk/gtkfilechooserbutton.c (model_add_special_get_info_cb):
        Plug a memleak. (#455721, Christian Persch)

svn path=/trunk/; revision=18476

18 years agoApply a patch by Guillaume Cottenceau to improve the signal docs.
Matthias Clasen [Mon, 16 Jul 2007 15:00:05 +0000 (15:00 +0000)]
Apply a patch by Guillaume Cottenceau to improve the signal docs.

2007-07-16  Matthias Clasen <mclasen@redhat.com>

        * gtk/gtkscalebutton.c: Apply a patch by Guillaume Cottenceau
        to improve the signal docs.  (#456258)

svn path=/trunk/; revision=18475

18 years agoApply a patch by Xan Lopez to document a lot of GtkWidget signals.
Matthias Clasen [Mon, 16 Jul 2007 14:40:37 +0000 (14:40 +0000)]
Apply a patch by Xan Lopez to document a lot of GtkWidget signals.

2007-07-16  Matthias Clasen <mclasen@redhat.com>

        * gtk/gtkwidget.c: Apply a patch by Xan Lopez to document
        a lot of GtkWidget signals.  (#172424)

svn path=/trunk/; revision=18474

18 years agoConvenience functions to position tooltips on icon view items or cells.
Matthias Clasen [Mon, 16 Jul 2007 14:04:35 +0000 (14:04 +0000)]
Convenience functions to position tooltips on icon view items or cells.

2007-07-16  Matthias Clasen <mclasen@redhat.com>

        * gtk/gtk.symbols:
        * gtk/gtkiconview.h:
        * gtk/gtkiconview.c (gtk_icon_view_set_tooltip_item):
        (gtk_icon_view_set_tooltip_cell): Convenience functions to
        position tooltips on icon view items or cells.

svn path=/trunk/; revision=18473

18 years agoUpdated Spanish translation
Jorge Gonzalez Gonzalez [Sun, 15 Jul 2007 12:19:57 +0000 (12:19 +0000)]
Updated Spanish translation

svn path=/trunk/; revision=18472

18 years agoUpdated Lithuanian translation.
Žygimantas Beručka [Sat, 14 Jul 2007 18:28:03 +0000 (18:28 +0000)]
Updated Lithuanian translation.

svn path=/trunk/; revision=18471

18 years agoUpdated Lithuanian translation.
Žygimantas Beručka [Sat, 14 Jul 2007 18:18:09 +0000 (18:18 +0000)]
Updated Lithuanian translation.

svn path=/trunk/; revision=18470

18 years agoUpdated Norwegian bokmål translation.
Kjartan Maraas [Sat, 14 Jul 2007 12:57:00 +0000 (12:57 +0000)]
Updated Norwegian bokmål translation.

2007-07-14  Kjartan Maraas  <kmaraas@gnome.org>

* nb.po: Updated Norwegian bokmål translation.

svn path=/trunk/; revision=18469

18 years agoPlug leak.
Richard Hult [Sat, 14 Jul 2007 12:14:36 +0000 (12:14 +0000)]
Plug leak.

2007-07-14  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkevents-quartz.c:
(_gdk_quartz_events_update_cursor): Plug leak.

svn path=/trunk/; revision=18468

18 years agoMove from here... ...to here. (_gdk_windowing_window_destroy): Update the
Richard Hult [Fri, 13 Jul 2007 19:09:10 +0000 (19:09 +0000)]
Move from here... ...to here. (_gdk_windowing_window_destroy): Update the

2007-07-13  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkprivate-quartz.h:
* gdk/quartz/gdkevents-quartz.c: (gdk_window_is_ancestor): Move
from here...
* gdk/quartz/gdkwindow-quartz.c: (_gdk_quartz_window_is_ancestor):
...to here.
(_gdk_windowing_window_destroy): Update the mouse window if the
destroyed window is an ancestor of the current one, not only if
they are the same.
(gdk_window_hide): Update the mouse window here too.

svn path=/trunk/; revision=18467

18 years agoAdd stubs.
Richard Hult [Fri, 13 Jul 2007 19:02:07 +0000 (19:02 +0000)]
Add stubs.

2007-07-13  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkcolor-quartz.c: (gdk_colors_alloc),
(gdk_colors_free): Add stubs.

svn path=/trunk/; revision=18466

18 years agoAvoid gratitious use of g_strdup_printf().
Matthias Clasen [Fri, 13 Jul 2007 16:34:05 +0000 (16:34 +0000)]
Avoid gratitious use of g_strdup_printf().

2007-07-13  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkrecentmanager.c (get_uri_shortname_for_display): Avoid
        gratitious use of g_strdup_printf().

        * gtk/gtkrecentchooserdefault.c:
        * gtk/gtkrecentchoosermenu.c: Mark some strings for
        translation.  (#439480, Murray Cumming)

svn path=/trunk/; revision=18465

18 years ago#408327, improve tooltip positioning.
Kristian Rietveld [Fri, 13 Jul 2007 14:25:21 +0000 (14:25 +0000)]
#408327, improve tooltip positioning.

2007-07-13  Kristian Rietveld  <kris@imendio.com>

#408327, improve tooltip positioning.

* gtk/gtk.symbols: updated.

* gtk/gtktooltip.[ch] (gtk_tooltip_position): factor out
positioning code in here,
(gtk_tooltip_set_tip_area): new function to set the tooltip
area,
(gtk_tooltip_reset), (_gtk_tooltip_handle_event): hide tooltip
once the pointer leaves the tip area.

* gtk/gtktreeview.[ch] (gtk_tree_view_set_tooltip_row),
(gtk_tree_view_set_tooltip_cell): convenience functions to set
tip area for row/column/cell.

* tests/testtooltips.c (query_tooltip_tree_view_cb): use
gtk_tree_view_set_tooltip_row.

svn path=/trunk/; revision=18464

18 years agoEstonian translation update by Ivar Smolin.
Priit Laes [Fri, 13 Jul 2007 10:21:32 +0000 (10:21 +0000)]
Estonian translation update by Ivar Smolin.

2007-07-13  Priit Laes  <plaes@svn.gnome.org>

* et.po: Estonian translation update by Ivar Smolin.

svn path=/trunk/; revision=18463

18 years agogdk/win32/gdkevents-win32.c Fix transient windows on Win32 so that when a
Cody Russell [Thu, 12 Jul 2007 23:38:30 +0000 (23:38 +0000)]
gdk/win32/gdkevents-win32.c Fix transient windows on Win32 so that when a

2007-07-12  Cody Russell  <bratsche@gnome.org>

* gdk/win32/gdkevents-win32.c
* gdk/win32/gdkwindow-win32.[ch]: Fix transient windows on Win32
so that when a transient child window is closed (particularly when
there are 3 or more levels of transient windows), the correct window
receives focus rather than a seemingly random window. (#112404)

svn path=/trunk/; revision=18461

18 years agoFixed memory leak at window closing in DirectFB backend, patch provided by Simon...
Attilio Fiandrotti [Thu, 12 Jul 2007 17:09:02 +0000 (17:09 +0000)]
Fixed memory leak at window closing in DirectFB backend, patch provided by Simon Lanzmich

svn path=/trunk/; revision=18459

18 years agoclarified documentation example.
Tim Janik [Thu, 12 Jul 2007 16:13:36 +0000 (16:13 +0000)]
clarified documentation example.

Thu Jul 12 18:03:02 2007  Tim Janik  <timj@gtk.org>

        * gdk/gdk.c (gdk_threads_add_idle_full): clarified documentation example.

svn path=/trunk/; revision=18458

18 years agoclarify section about gdk_threads_enter/ gdk_threads_leave to be reworded
Tim Janik [Thu, 12 Jul 2007 16:13:11 +0000 (16:13 +0000)]
clarify section about gdk_threads_enter/ gdk_threads_leave to be reworded

Thu Jul 12 18:12:04 2007  Tim Janik  <timj@imendio.com>

        * gdk/tmpl/threads.sgml: clarify section about gdk_threads_enter/
        gdk_threads_leave to be reworded in terms of events and to mention
        availability of gdk_threads_add_idle_full().

svn path=/trunk/; revision=18457

18 years agoUpdated Korean translation by Eunju Kim..
Changwoo Ryu [Thu, 12 Jul 2007 09:00:39 +0000 (09:00 +0000)]
Updated Korean translation by Eunju Kim..

2007-07-12  Changwoo Ryu  <cwryu@debian.org>

* ko.po: Updated Korean translation by Eunju Kim..

svn path=/trunk/; revision=18456

18 years agoAdd docs
Matthias Clasen [Thu, 12 Jul 2007 06:09:07 +0000 (06:09 +0000)]
Add docs

svn path=/trunk/; revision=18455

18 years agoAdd docs
Matthias Clasen [Thu, 12 Jul 2007 03:23:42 +0000 (03:23 +0000)]
Add docs

svn path=/trunk/; revision=18454

18 years ago Add more documentation.
Matthias Clasen [Thu, 12 Jul 2007 01:55:15 +0000 (01:55 +0000)]
 Add more documentation.

svn path=/trunk/; revision=18453

18 years agoMake parameter naming consistent.
Matthias Clasen [Thu, 12 Jul 2007 01:13:42 +0000 (01:13 +0000)]
Make parameter naming consistent.

2007-07-11  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtktreeview.c:
        * gtk/gtktoolitem.[hc]: Make parameter naming consistent.

svn path=/trunk/; revision=18452

18 years agoSmall doc fixes
Matthias Clasen [Thu, 12 Jul 2007 00:57:23 +0000 (00:57 +0000)]
Small doc fixes

svn path=/trunk/; revision=18451

18 years agoMove some docs inline
Matthias Clasen [Thu, 12 Jul 2007 00:56:44 +0000 (00:56 +0000)]
Move some docs inline

svn path=/trunk/; revision=18450

18 years agoSmall additions and corrections
Matthias Clasen [Thu, 12 Jul 2007 00:48:10 +0000 (00:48 +0000)]
Small additions and corrections

svn path=/trunk/; revision=18449

18 years agoAdditions
Matthias Clasen [Wed, 11 Jul 2007 23:00:09 +0000 (23:00 +0000)]
Additions

svn path=/trunk/; revision=18448

18 years agoMove some docs inline
Matthias Clasen [Wed, 11 Jul 2007 22:21:06 +0000 (22:21 +0000)]
Move some docs inline

svn path=/trunk/; revision=18447

18 years agox should be changed when converting widget <=> bin_window coordinates, not
Kristian Rietveld [Wed, 11 Jul 2007 18:42:28 +0000 (18:42 +0000)]
x should be changed when converting widget <=> bin_window coordinates, not

2007-07-11  Kristian Rietveld  <kris@imendio.com>

* gtk/gtktreeview.c (gtk_tree_view_*_to_*_coords): x should be
changed when converting widget <=> bin_window coordinates, not
when bin_window <=> tree_window.

svn path=/trunk/; revision=18446

18 years agoNew function to convert widget coords to what is expected by the at_pos
Matthias Clasen [Wed, 11 Jul 2007 18:14:46 +0000 (18:14 +0000)]
New function to convert widget coords to what is expected by the at_pos

2007-07-11  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtk.symbols:
        * gtk/gtkiconview.[hc]
        (gtk_icon_view_convert_widget_to_bin_window_coords): New
        function to convert widget coords to what is expected by
        the at_pos functions.  (#455984)

svn path=/trunk/; revision=18445

18 years agoMore tooltips docs
Matthias Clasen [Wed, 11 Jul 2007 04:46:03 +0000 (04:46 +0000)]
More tooltips docs

svn path=/trunk/; revision=18443

18 years agoSmall doc update
Matthias Clasen [Tue, 10 Jul 2007 23:45:45 +0000 (23:45 +0000)]
Small doc update

svn path=/trunk/; revision=18442

18 years agoIntern the action's name. Saves two string duplicates of it per action;
Christian Persch [Tue, 10 Jul 2007 22:18:08 +0000 (22:18 +0000)]
Intern the action's name. Saves two string duplicates of it per action;

2007-07-11  Christian Persch  <chpe@gnome.org>

* gtk/gtkaction.c: (gtk_action_buildable_set_name),
(gtk_action_finalize), (gtk_action_set_property),
(gtk_action_get_property):
* gtk/gtkactiongroup.c: (gtk_action_group_init),
(gtk_action_group_add_action),
(gtk_action_group_add_action_with_accel),
(gtk_action_group_remove_action): Intern the action's name. Saves two
string duplicates of it per action; bug #455645.

svn path=/trunk/; revision=18441

18 years agoAdd hack to workaround the broken tracking rect implementation in quartz,
Richard Hult [Tue, 10 Jul 2007 19:18:59 +0000 (19:18 +0000)]
Add hack to workaround the broken tracking rect implementation in quartz,

2007-07-10  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkwindow-quartz.c: (gdk_window_new),
(show_window_internal), (gdk_window_show), (gdk_window_hide): Add
hack to workaround the broken tracking rect implementation in
quartz, that doesn't seem to produce events if the window shows up
under the mouse.

svn path=/trunk/; revision=18440

18 years agoadd getter/setter pair, slight addition to has-tooltip property
Kristian Rietveld [Tue, 10 Jul 2007 18:24:37 +0000 (18:24 +0000)]
add getter/setter pair, slight addition to has-tooltip property

2007-07-10  Kristian Rietveld  <kris@imendio.com>

* gtk/gtk.symbols:
* gtk/gtkwidget.[ch] (gtk_widget_{get,set}_has_tooltip): add
getter/setter pair, slight addition to has-tooltip property
documentation,
(gtk_widget_real_set_has_tooltip): renamed internal function.

svn path=/trunk/; revision=18439

18 years agoTranslation updated.
Gabor Kelemen [Tue, 10 Jul 2007 18:21:41 +0000 (18:21 +0000)]
Translation updated.

2007-07-10 Gabor Kelemen  <kelemeng@gnome.hu>

* hu.po: Translation updated.

svn path=/trunk/; revision=18438

18 years agoRemove work-around for the old tooltips code, and just set the action
Christian Persch [Tue, 10 Jul 2007 18:00:43 +0000 (18:00 +0000)]
Remove work-around for the old tooltips code, and just set the action

2007-07-10  Christian Persch  <chpe@gnome.org>

* gtk/gtkaction.c: (gtk_action_sync_tooltip),
(gtk_action_set_tooltip):
* gtk/gtkuimanager.c: (update_node): Remove work-around for the old
tooltips code, and just set the action tooltip immediately on the
proxy widget. Bug #455482.

svn path=/trunk/; revision=18437

18 years agouse gtk_container_forall, instead of gtk_container_foreach(). Makes
Kristian Rietveld [Tue, 10 Jul 2007 17:47:10 +0000 (17:47 +0000)]
use gtk_container_forall, instead of gtk_container_foreach(). Makes

2007-07-10  Kristian Rietveld  <kris@imendio.com>

* gtk/gtktooltip.c (find_widget_under_pointer),
(child_location_foreach): use gtk_container_forall, instead of
gtk_container_foreach().  Makes tooltips on notebook tabs work. (Fixes
bug reported by Christian Persch).

svn path=/trunk/; revision=18436

18 years agoignore invisible (!drawable) widgets. (Fixes bug reported by Paolo
Kristian Rietveld [Tue, 10 Jul 2007 17:40:05 +0000 (17:40 +0000)]
ignore invisible (!drawable) widgets. (Fixes bug reported by Paolo

2007-07-10  Kristian Rietveld  <kris@imendio.com>

* gtk/gtktooltip.c (child_location_foreach): ignore invisible
(!drawable) widgets.  (Fixes bug reported by Paolo Borelli).

svn path=/trunk/; revision=18435

18 years agoFixed a bug #455049.
Takeshi AIHANA [Tue, 10 Jul 2007 13:03:21 +0000 (13:03 +0000)]
Fixed a bug #455049.

2007-07-10  Takeshi AIHANA <takeshi.aihana@gmail.com>

        * ja.po: Fixed a bug #455049.

svn path=/trunk/; revision=18434

18 years agoAdded Entry for Bengali India Translation Updation
Runa Bhattacharjee [Tue, 10 Jul 2007 10:50:58 +0000 (10:50 +0000)]
Added Entry for Bengali India Translation Updation

svn path=/trunk/; revision=18433

18 years agoUpdated Bengali India Translation
Runa Bhattacharjee [Tue, 10 Jul 2007 10:50:45 +0000 (10:50 +0000)]
Updated Bengali India Translation

svn path=/trunk/; revision=18432

18 years agoUpdates
Matthias Clasen [Tue, 10 Jul 2007 06:00:13 +0000 (06:00 +0000)]
Updates

svn path=/trunk/; revision=18431

18 years agoFix doc formatting
Matthias Clasen [Tue, 10 Jul 2007 05:40:05 +0000 (05:40 +0000)]
Fix doc formatting

svn path=/trunk/; revision=18430

18 years agoUpdates
Matthias Clasen [Tue, 10 Jul 2007 05:28:52 +0000 (05:28 +0000)]
Updates

svn path=/trunk/; revision=18429

18 years agoFix a typo
Matthias Clasen [Tue, 10 Jul 2007 05:00:24 +0000 (05:00 +0000)]
Fix a typo

svn path=/trunk/; revision=18428

18 years agoUpdates
Matthias Clasen [Tue, 10 Jul 2007 04:20:27 +0000 (04:20 +0000)]
Updates

svn path=/trunk/; revision=18427

18 years agoUse a bit of the GtkLabel structure to remember that a pattern has been
Matthias Clasen [Mon, 9 Jul 2007 20:50:22 +0000 (20:50 +0000)]
Use a bit of the GtkLabel structure to remember that a pattern has been

2007-07-09  Matthias Clasen  <mclasen@redhat.com>

        * gtklabel.[ch]: Use a bit of the GtkLabel structure to
        remember that a pattern has been set.
        (gtk_label_set_pattern_internal): Don't do anything if
        a specific pattern has been set.
        (gtk_label_set_pattern): set the new bit to TRUE when
        setting a pattern, and recalculate everything if the
        pattern is unset. Fix gtk_label_set_pattern() not working
        anymore.  (#452861, Vincent Untz)

svn path=/trunk/; revision=18426

18 years agoChanged uz to uz@cyrillic and uz@Latn to uz. See bug #451164.
Claude Paroz [Mon, 9 Jul 2007 20:35:33 +0000 (20:35 +0000)]
Changed uz to uz@cyrillic and uz@Latn to uz. See bug #451164.

svn path=/trunk/; revision=18425

18 years agoRemove deprecated tooltips, use new tooltips API. (#449311, Jan Arne
Matthias Clasen [Mon, 9 Jul 2007 20:32:35 +0000 (20:32 +0000)]
Remove deprecated tooltips, use new tooltips API. (#449311, Jan Arne

2007-07-09  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkvolumebutton.c: Remove deprecated tooltips,
        use new tooltips API.  (#449311, Jan Arne Petersen)

svn path=/trunk/; revision=18424

18 years agoDon't ignore the passed-in len parameter. (#430049, Yevgen Muntyan)
Matthias Clasen [Mon, 9 Jul 2007 20:24:26 +0000 (20:24 +0000)]
Don't ignore the passed-in len parameter. (#430049, Yevgen Muntyan)

2007-07-09  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkselection.c (normalize_to_crlf): Don't ignore
        the passed-in len parameter.  (#430049, Yevgen Muntyan)

svn path=/trunk/; revision=18423

18 years agoImprove the handling of broken situations. (#427899, Francesco Montorsi)
Matthias Clasen [Mon, 9 Jul 2007 20:22:16 +0000 (20:22 +0000)]
Improve the handling of broken situations. (#427899, Francesco Montorsi)

2007-07-09  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkframe.c (gtk_frame_size_allocate): Improve the
        handling of broken situations.  (#427899, Francesco Montorsi)

svn path=/trunk/; revision=18422

18 years agoChanged size requisition so the viewport does not add the border thickness
Matthias Clasen [Mon, 9 Jul 2007 20:01:54 +0000 (20:01 +0000)]
Changed size requisition so the viewport does not add the border thickness

2007-07-09  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkviewport.c (gtk_viewport_size_request): Changed size
        requisition so the viewport does not add the border thickness
        if it has GTK_SHADOW_NONE selected.  (#361781, Miguel Gomez)

svn path=/trunk/; revision=18421

18 years agoRemove uses of deprecated api in example. (#454835, Guillaume Cottenceau)
Matthias Clasen [Mon, 9 Jul 2007 19:33:42 +0000 (19:33 +0000)]
Remove uses of deprecated api in example. (#454835, Guillaume Cottenceau)

2007-07-09  Matthias Clasen  <mclasen@redhat.com>

        * gdk-pixbuf/tmpl/scaling.sgml: Remove uses of deprecated api
        in example.  (#454835, Guillaume Cottenceau)

svn path=/trunk/; revision=18420

18 years agoFix a typo in the docs. (#453930, Guillaume Cottenceau)
Matthias Clasen [Mon, 9 Jul 2007 19:29:51 +0000 (19:29 +0000)]
Fix a typo in the docs. (#453930, Guillaume Cottenceau)

2007-07-09  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtktooltip.c (gtk_tooltip_trigger_tooltip_query):
        Fix a typo in the docs.  (#453930, Guillaume Cottenceau)

svn path=/trunk/; revision=18419

18 years agoReplace non-deprecated API using old tooltips API, deprecate old tooltips
Kristian Rietveld [Mon, 9 Jul 2007 19:23:18 +0000 (19:23 +0000)]
Replace non-deprecated API using old tooltips API, deprecate old tooltips

2007-07-09  Kristian Rietveld  <kris@imendio.com>

Replace non-deprecated API using old tooltips API, deprecate
old tooltips API for real. (#451575).

* gtk/gtk.symbols: updated.

* gtk/gtkwidget.c (gtk_widget_real_show_help): don't call
_gtk_tooltips_toggle_keyboard_mode() anymore.

* gtk/gtkmenutoolbutton.[ch] (gtk_menu_tool_button_set_arrow_tooltip):
deprecated,
(gtk_menu_tool_button_set_arrow_tooltip_{text,markup}): replacements.

* gtk/gtktoolitem.[ch] (gtk_tool_item_real_set_tooltip): use
new API,
(gtk_tool_item_set_tooltip): deprecated,
(gtk_tool_item_set_tooltip_{text,markup): replacements.
(GtkToolItemClass:set_tooltip): deprecated.

* gtk/gtktooltips.[ch]: strip out all unused parts, made
gtk_tooltips_set_tip() call gtk_widget_set_tooltip_text(),
deprecate all of gtk_tooltips_*.

* gtk/gtktoolbar.[ch] (gtk_toolbar_get_tooltips): always return
TRUE,
(GtkToolbar:tooltips): deprecated, renamed.

* gtk/gtkaction.c (gtk_action_sync_tooltip): use new API to
set the tooltip text.

* tests/autotestfilechooser.c: #undef GTK_DISABLE_DEPRECATED for now,
will be removed GtkFileChooserDefault has been converted.

svn path=/trunk/; revision=18418

18 years agoFix a typo in the docs. (#453673, Guillaume Cottenceau)
Matthias Clasen [Mon, 9 Jul 2007 19:20:12 +0000 (19:20 +0000)]
Fix a typo in the docs. (#453673, Guillaume Cottenceau)

2007-07-09  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtktreeview.c
        (gtk_tree_view_convert_bin_window_to_widget_coords:
        Fix a typo in the docs.  (#453673, Guillaume Cottenceau)

svn path=/trunk/; revision=18417

18 years agoEmit ::changed when removing the active row. (#452056, Paul Pogonyshev)
Matthias Clasen [Mon, 9 Jul 2007 18:23:49 +0000 (18:23 +0000)]
Emit ::changed when removing the active row. (#452056, Paul Pogonyshev)

2007-07-09  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkcombobox.c (gtk_combo_box_model_row_deleted): Emit
        ::changed when removing the active row.  (#452056, Paul Pogonyshev)

svn path=/trunk/; revision=18416

18 years agoUpdates
Matthias Clasen [Mon, 9 Jul 2007 18:19:13 +0000 (18:19 +0000)]
Updates

svn path=/trunk/; revision=18415

18 years agoMake it compile
Matthias Clasen [Mon, 9 Jul 2007 18:04:59 +0000 (18:04 +0000)]
Make it compile

svn path=/trunk/; revision=18414

18 years agoAddress some thread-safety issues. (#452598)
Matthias Clasen [Mon, 9 Jul 2007 18:02:38 +0000 (18:02 +0000)]
Address some thread-safety issues. (#452598)

2007-07-09  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtksearchenginesimple.c: Address some thread-safety
        issues.  (#452598)

svn path=/trunk/; revision=18413

18 years agoFix build problems on Cygwin. (#448604)
Matthias Clasen [Mon, 9 Jul 2007 18:00:22 +0000 (18:00 +0000)]
Fix build problems on Cygwin. (#448604)

2007-07-09  Matthias Clasen  <mclasen@redhat.com>

        * modules/printbackends/*/Makefile.am: Fix build problems
        on Cygwin.  (#448604)

svn path=/trunk/; revision=18412

18 years agoRemove usage of deprecated GtkTooltips API. Use
Jaap Haitsma [Mon, 9 Jul 2007 17:48:06 +0000 (17:48 +0000)]
Remove usage of deprecated GtkTooltips API. Use

2007-07-09  Jaap Haitsma  <jaap@haitsma.org>

* gtk/gtkstatusicon.c: Remove usage of deprecated GtkTooltips API. Use
gtk_widget_set_tooltip_text instead

svn path=/trunk/; revision=18411

18 years agoMake the GTK_TOOLTIP and GTK_IS_TOOLTIP macros public.
Johan Dahlin [Mon, 9 Jul 2007 17:24:24 +0000 (17:24 +0000)]
Make the GTK_TOOLTIP and GTK_IS_TOOLTIP macros public.

2007-07-09  Johan Dahlin  <jdahlin@async.com.br>

    * gtk/gtktooltip.c:
    * gtk/gtktooltip.h: Make the GTK_TOOLTIP and GTK_IS_TOOLTIP macros public.

svn path=/trunk/; revision=18410

18 years agoDocument <accelerator> element
Johan Dahlin [Mon, 9 Jul 2007 13:41:13 +0000 (13:41 +0000)]
Document <accelerator> element

2007-07-09  Johan Dahlin <jdahlin@async.com.br>

       * gtk/tmpl/gtkactiongroup.sgml: Document <accelerator> element

svn path=/trunk/; revision=18409

18 years ago|___* demos/gtk-demo/demo.ui: |___* gtk/gtk-builder-convert: |___*
Johan Dahlin [Mon, 9 Jul 2007 13:40:10 +0000 (13:40 +0000)]
|___* demos/gtk-demo/demo.ui: |___* gtk/gtk-builder-convert: |___*

2007-07-09  Johan Dahlin,,,  <jdahlin@lozenge>

|___* demos/gtk-demo/demo.ui:
|___* gtk/gtk-builder-convert:
|___* gtk/gtkactiongroup.c: (gtk_action_group_buildable_init),
|___(gtk_action_group_buildable_add_child),
|___(accelerator_start_element),
|___(gtk_action_group_buildable_custom_tag_start),
|___(gtk_action_group_buildable_custom_tag_end):
|___* gtk/gtkuimanager.c: (child_hierarchy_changed_cb),
|___(gtk_ui_manager_buildable_construct_child):
|___* tests/buildertest.c: (test_uimanager_simple):

|___Add actiongroup/action accelerator support for builder. #454654

svn path=/trunk/; revision=18408

18 years agoUpdated Thai translation.
Theppitak Karoonboonyanan [Mon, 9 Jul 2007 12:01:14 +0000 (12:01 +0000)]
Updated Thai translation.

* th.po: Updated Thai translation.

svn path=/trunk/; revision=18407

18 years agoapplied docu clarification patch from Bjoern Lindqvist, #454700.
Tim Janik [Mon, 9 Jul 2007 08:33:32 +0000 (08:33 +0000)]
applied docu clarification patch from Bjoern Lindqvist, #454700.

Mon Jul  9 10:32:39 2007  Tim Janik  <timj@imendio.com>

        * gdk/tmpl/threads.sgml: applied docu clarification patch from Bjoern
        Lindqvist, #454700.

svn path=/trunk/; revision=18406

18 years agoSupport old-style message contexts, too.
Matthias Clasen [Sun, 8 Jul 2007 16:37:43 +0000 (16:37 +0000)]
Support old-style message contexts, too.

2007-07-08  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkbuilderparser.c (pgettext): Support old-style
        message contexts, too.

svn path=/trunk/; revision=18405

18 years agoImprove the way properties are copied over from a menuitem to an action.
Johan Dahlin [Sun, 8 Jul 2007 14:33:20 +0000 (14:33 +0000)]
Improve the way properties are copied over from a menuitem to an action.

2007-07-08  Johan Dahlin  <jdahlin@async.com.br>

    * gtk/gtk-builder-convert: Improve the way properties
    are copied over from a menuitem to an action.

svn path=/trunk/; revision=18404

18 years agoConvert GtkMenus which are not part of a GtkMenuBar. Also move over
Johan Dahlin [Sun, 8 Jul 2007 14:00:21 +0000 (14:00 +0000)]
Convert GtkMenus which are not part of a GtkMenuBar. Also move over

2007-07-08  Johan Dahlin  <jdahlin@async.com.br>

    * gtk/gtk-builder-convert (GtkBuilderConverter._convert_menuitem): Convert
    GtkMenus which are not part of a GtkMenuBar. Also move over activate signals
    when converting a GtkMenuItem subclass to an action.
    (#454830, Bastien Nocera)

svn path=/trunk/; revision=18403

18 years agoParse last_modification_time attribute in <signal> tag
Johan Dahlin [Sun, 8 Jul 2007 13:39:42 +0000 (13:39 +0000)]
Parse last_modification_time attribute in <signal> tag

2007-07-08  Johan Dahlin  <jdahlin@async.com.br>

    * gtk/gtkbuilderparser.c (parse_signal): Parse last_modification_time
    attribute in <signal> tag

svn path=/trunk/; revision=18402

18 years agoAdd support for context and comments on properties
Matthias Clasen [Sun, 8 Jul 2007 05:27:22 +0000 (05:27 +0000)]
Add support for context and comments on properties

svn path=/trunk/; revision=18401

18 years agoFix a typo and a memory management bug
Matthias Clasen [Sun, 8 Jul 2007 03:59:30 +0000 (03:59 +0000)]
Fix a typo and a memory management bug

svn path=/trunk/; revision=18400

18 years agoParse <accessibility> but don't do anything yet. Do not strip
Johan Dahlin [Sun, 8 Jul 2007 03:22:18 +0000 (03:22 +0000)]
Parse <accessibility> but don't do anything yet. Do not strip

2007-07-08  Johan Dahlin  <jdahlin@async.com.br>

    * gtk/gtkwidget.c (gtk_widget_buildable_custom_tag_start):
    Parse <accessibility> but don't do anything yet.
    * gtk/gtk-builder-convert (GtkBuilderConverter._parse):
    Do not strip atk/accessibility tags
    * tests/buildertest.c (test_widget):
    Test this

svn path=/trunk/; revision=18399

18 years agodocu fixup by Bjoern Lindqvist, #454703.
Tim Janik [Sat, 7 Jul 2007 23:36:33 +0000 (23:36 +0000)]
docu fixup by Bjoern Lindqvist, #454703.

Sun Jul  8 01:33:45 2007  Tim Janik  <timj@gtk.org>

        * gdk/gdkwindow.c: docu fixup by Bjoern Lindqvist, #454703.

svn path=/trunk/; revision=18398

18 years agoUpdated Greek translation
Kostas Papadimas [Sat, 7 Jul 2007 16:33:35 +0000 (16:33 +0000)]
Updated Greek translation

svn path=/trunk/; revision=18397

18 years ago]) ([GdkQuartzWindow -windowDidBecomeMain:]): Keep a stack of main windows
Richard Hult [Sat, 7 Jul 2007 16:19:40 +0000 (16:19 +0000)]
]) ([GdkQuartzWindow -windowDidBecomeMain:]): Keep a stack of main windows

2007-07-07  Richard Hult  <richard@imendio.com>

* gdk/quartz/GdkQuartzWindow.c ([GdkQuartzWindow -windowDidResignMain:])
([GdkQuartzWindow -windowDidBecomeMain:]):
* gdk/quartz/gdkwindow-quartz.c (_gdk_quartz_window_did_resign_main)
(_gdk_quartz_window_did_become_main, gdk_window_hide)
(_gdk_windowing_window_destroy): Keep a stack of main windows and
select the most recent one when hiding/closing the current one.

svn path=/trunk/; revision=18396

18 years ago (GtkBuilderConverter._add_action_from_menuitem): Only set stock_id
Johan Dahlin [Sat, 7 Jul 2007 16:18:38 +0000 (16:18 +0000)]
(GtkBuilderConverter._add_action_from_menuitem): Only set stock_id
    on the action if the menuitem had a stock or label property set

svn path=/trunk/; revision=18395

18 years ago (GtkBuilderConverter._convert_menuitem): Add support for CheckMenuItems
Johan Dahlin [Sat, 7 Jul 2007 16:14:30 +0000 (16:14 +0000)]
(GtkBuilderConverter._convert_menuitem): Add support for CheckMenuItems
    and do not set name and action on separators

svn path=/trunk/; revision=18394

18 years agoAssert that the tagname of the nodes are correct, factor out a method to a function...
Johan Dahlin [Sat, 7 Jul 2007 15:59:53 +0000 (15:59 +0000)]
Assert that the tagname of the nodes are correct, factor out a method to a function which doesn't use the instance state.

svn path=/trunk/; revision=18393

18 years ago (GtkBuilderConverter._parse): Remove unsupported atkrelation and atkproperty
Johan Dahlin [Sat, 7 Jul 2007 15:50:09 +0000 (15:50 +0000)]
(GtkBuilderConverter._parse): Remove unsupported atkrelation and atkproperty
    tags

svn path=/trunk/; revision=18392